/* 视频横幅容器 */
.sidebar-video-banner {
    position: relative;
    height: 120px;
    margin: 0 -10px 15px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 视频元素 */
.sidebar-video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: all 0.3s ease;
}

/* 视频内容覆盖层 */
.sidebar-video-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
    color: white;
}

.sidebar-video-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.sidebar-video-content p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

/* 视频控制按钮 */
.sidebar-video-control {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 2;
}

.sidebar-video-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    opacity: 1;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}    